package com.fengye.netflix.provider.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author sky
 * @date 2021/4/26 23:43
 */
@RestController
@RequestMapping("/message")
public class MessageController {

    @GetMapping("/hello")
    public String message(String name){
        return "hello "+ name;
    }
}
